<?php global $user, $base_url; ?>
<?php if (!empty($packages)): ?>
<ul class="locked-packages">
    <?php foreach ($packages as $package): ?>
    <li>
        <?php print theme('package-item', array('package' => $package, 'items' => $items)); ?>
    </li>
    <?php endforeach;?>
</ul>
<?php endif; ?>